package org.csu.mypetstore.persistence.impl;

import com.alibaba.fastjson.JSON;

public class JsonUtil {
    public static String ObjectToJson(Object object){
        JSON json = (JSON)JSON.toJSON(object);
        return json.toJSONString();
    }
}
